﻿using System.Web.Mvc;
using Core.Exceptions;
using Elmah;

namespace ScoutNET.Controllers
{
    public class ErrorController : Controller
    {
        //
        // GET: /Error/LogJavaScriptError

        public void LogJavaScriptError(string message)
        {
            ErrorSignal.FromCurrentContext().Raise(new JavaScriptException(message));
        }
    }
}